All Questions
2 questions
3votes
1answer
6kviews
model.score and r2_score giving different values for a regression model
I am build a linear regression model and a decision tree model using sklearn. I want to compare the performance of these two models, I have calculated the r2_score for both the models. I have ...
4votes
2answers
1kviews
Performance difference between decision trees and logistic regression when one of the features is a string
I have a set of features, one of which is a string. I convert the string to an integer by treating the string as a base 36 number (I only use the first 13 characters). Then I can use DecisionTrees ...